package com.lanou.myim.model;

import com.easemob.chat.EMChatManager;
import com.easemob.chat.EMContactManager;
import com.easemob.chat.EMConversation;
import com.easemob.exceptions.EaseMobException;
import com.lanou.myim.db.ConversationEty;
import com.lanou.myim.db.ConversationEtyDao;
import com.lanou.myim.entity.MsgEty;
import com.lanou.myim.tools.DaoSingleton;

import java.util.List;

/**
 * Created by dllo on 16/3/5.
 */
public class MainModel implements MainModelInterface{

    @Override
    public Integer getAllUnreadMsgCount() {
        return EMChatManager.getInstance().getUnreadMsgsCount();
    }

}
